home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #5 / Software USA Volume 4.05.iso / mac / Education / HTML Tricks / Extreme Mac HTML Tricks v2.1 / Extreme Mac HTML Tricks v2.1.rsrc / TEXT_137.txt < prev    next >
Text File  |  1996-10-31  |  2KB  |  68 lines

  1.  
  2.  
  3.  
  4.  
  5. Fat Table
  6. <TABLE BORDER=4 CELLSPACING=3 CELLPADDING=10>
  7. <TR><TD>Extreme</TD><TD>Mac</TD></TR>
  8. <TR><TD>Extreme</TD><TD>Mac</TD></TR>
  9. </TABLE>
  10. ‚Ä¢This will look like this:
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. Flat Table
  20. <TABLE BORDER=1 CELLSPACING=3 CELLPADDING=10>
  21. <TR><TD>Extreme</TD><TD>Mac</TD></TR>
  22. <TR><TD>Extreme</TD><TD>Mac</TD></TR>
  23. </TABLE>
  24. ‚Ä¢This will look like this:
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. Table with image inside 
  33.  
  34. <TABLE BORDER=4 CELLPADDING=0>
  35. <TR>
  36. <TD><img src="imagelocation.gif"></TD>
  37. </TR>
  38. </TABLE>
  39. ‚Ä¢This would look like this:
  40.  
  41.  
  42.  
  43.  
  44.     Look at the black parts of the html. Configure these to make the tables appear different. (Definitions below)
  45.  
  46. ‚Ä¢Table Border - The border height around the frame of the table.
  47. ‚Ä¢Cellpadding - The amount of space between the text and the table frames.
  48. ‚Ä¢Cellspacing - Width of table frames.
  49.     
  50.     So you could have your html look like below to make your table short and fat.
  51. <TABLE BORDER=1 CELLSPACING=10 CELLPADDING=3>
  52. <TR><TD>Extreme</TD><TD>Mac</TD</TR>
  53. <TR><TD>Extreme</TD><TD>Mac</TD></TR>
  54. </TABLE>
  55. ‚Ä¢This would look like this:
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.     Each cell is make by the <td>editwords</td>. Each horizontal row on the table is continuous until a </tr> is added. Then it starts a new row. There are web pages with a new table html 3.0 but I'm not going to get into that because I haven't even learned it, and I don't have the need to know how to make html 3.0 tables. I believe they still have many bugs, and many browsers can't view them. (Netscape 2.x or greater can view them)
  65.  
  66.  
  67.  
  68.